/*******************************************************************************
 * Copyright (c) 2012 Daniele Parisi.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors:
 *     Daniele Parisi
 *     neb.inf@gmail.com
 *     http://www.danieleparisi.com/
 ******************************************************************************/
package org.jxreport.html;

import org.jxreport.core.Table;
import org.jxreport.core.views.div.DivView;
import org.w3c.dom.Element;

public class HTMLDivView extends DivView implements HTMLView {

	public HTMLDivView(Element textElement, Table table) {
		super(textElement, table);
	}

	@Override
	public String getJQueryCode() {
		String code = "";
		for (HTMLView reportView : this.contents)
			code += reportView.getJQueryCode();
		
		return code;
	}

	@Override
	public String getInnerDivCode() {
		String code = "";
		for (HTMLView reportView : this.contents)
			code += reportView.getInnerDivCode();
		
		return code;
	}



}
